﻿<!DOCTYPE html>
@*<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">*@
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="/content/pesssite.css" rel="stylesheet" type="text/css"/>
    <link href="/content/site.css" rel="stylesheet" type="text/css"/>

    <link href="/content/activitie_detail.css" rel="stylesheet" type="text/css"/>
    <link href="/content/table_btn.css" rel="stylesheet" type="text/css"/>

    <!--[if lt IE 8]>
        <link href="/content/activitie_create.css" rel="stylesheet" type="text/css"/>
    <![endif]-->

<noscript>
    <link href="/content/activitie_create.css" rel="stylesheet" type="text/css"/>
    <link href="/content/activitie_noscript.css" rel="stylesheet" type="text/css"/>
</noscript>

    <script>
        var browerName = navigator.userAgent.toLowerCase();
        var jsLink = document.createElement("link");
        if (!(/msie/i.test(browerName))) {
            jsLink.rel = "stylesheet";
            jsLink.type = "text/css";
            jsLink.href = "@Url.Content("~/content/pesssite_mobile.css")";
            document.getElementById("jibach").appendChild(jsLink);
        }
    </script>


    <script src="@Url.Content("~/Scripts/jquery-1.7.1.min.js")" type="text/javascript"></script>
    @RenderSection("Styles", false)
    @RenderSection("JavaScript",false)

</head>
<body id="fuying">
    <div id="box">
	    <div id="top">
            <h2>上海市基础教育“三项评选”管理平台</h2>
   	        <div id="logoon">@Html.Partial("_LogOnPartial")</div>
            <div id="nav">
                <ul id="menu">
                    <li><a href="/Activity">活动</a></li>
                    <li><a href="/Bulletin/index" class="selected">公示</a></li>
                    <li>@Html.ActionLink("系统设定", "About", "Home")</li>
                </ul>
            </div>
        </div>
        <div id="content">
    	    <div id="left">left</div>
            <div id="right">
                @RenderBody()
            </div>
        </div>
    </div>
    <div id="footer">
        <div id="footerBody">版权所有 ©2013&#8195;上海市教育委员会 教学研究室&#8195;沪ICP备</div>
    </div>
<script >
    function setDivHeight() {
        if (document.getElementById("box").clientHeight < document.documentElement.clientHeight - 55) {
            document.getElementById("footer").style.height = document.documentElement.clientHeight - document.getElementById("box").clientHeight + "px";
        } else {
            document.getElementById("footer").style.height = "55px";
        }
        //alert(document.getElementById("footer").style.height + "      " + document.documentElement.clientHeight + "     " + document.getElementById("box").clientHeight);
    }
    window.onresize = function () {
        setDivHeight();
    }
    setDivHeight();
</script>
</body>
</html>
